#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int maxn = 55;
int a[maxn][maxn];
int line[maxn];
int row[maxn];
int main()
{
	int t;
	scanf("%d",&t);
	while(t--)
	{
		int n,m;
		scanf("%d %d",&n,&m);
		memset(line,0,sizeof(line));
		memset(row,0,sizeof(row));
		for(int i = 0;i<n;i++)
		{
			for(int j = 0;j<m;j++)
			{
				scanf("%d",&a[i][j]);
				if(a[i][j])
				{
					row[i] = 1;
					line[j] = 1;
				}
			}
		}
		int cnt = 0;
		for(int i = 0;i<n;i++)
		{
			for(int j = 0;j<m;j++)
			{
				if(a[i][j]==0&&row[i]==0&&line[j]==0)
				{
					cnt++;
					a[i][j] = 1;
					row[i] = 1;
					line[j] = 1;
				}
			}
		}
		if(cnt%2) printf("Ashish\n");
		else printf("Vivek\n");
	}
	
} 
